package com.atguigu.lease.web.admin.service;

import com.atguigu.lease.model.entity.ApartmentInfo;
import com.atguigu.lease.web.admin.dto.ApartmentInfoSearchDto;
import com.atguigu.lease.web.admin.dto.ApartmentInfoSubmitDto;
import com.atguigu.lease.web.admin.vo.ApartmentDetailVo;
import com.atguigu.lease.web.admin.vo.ApartmentInfoVo;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

/**
* @author 1
* @description 针对表【apartment_info(公寓信息表)】的数据库操作Service
* @createDate 2024-08-28 11:00:25
*/
public interface ApartmentInfoService extends IService<ApartmentInfo> {

    boolean saveOrUpdateApartmentInfo(ApartmentInfoSubmitDto submitDto);

    Page<ApartmentInfoVo> pageItem(ApartmentInfoSearchDto searchDto);

    boolean removeApartmetInfoById(Long id);

    ApartmentDetailVo getDetailById(Long id);
}
